package com.yzsj.socket.business.service.impl;

import com.yzsj.socket.business.dao.TempSituationDao;
import com.yzsj.socket.business.domain.TempSituationPO;
import com.yzsj.socket.business.service.TempSituationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TempSituationServiceImpl implements TempSituationService {

    @Autowired
    private TempSituationDao tempSituationDao;

    @Override
    public List<TempSituationPO> findAll() {
        return tempSituationDao.findAll();
    }

    @Override
    public List<Object> getTempSituation() {
        return tempSituationDao.getTempSituation();
    }

    @Override
    public int saveList(List<TempSituationPO> list) {
        return tempSituationDao.saveList(list);
    }
}
